/**** still to be done better (remove sprintf() here) */
#define Error(c,e) do { if (! (c)->ErrTxt) { c->ErrTxt = c->ErrBuffer; sprintf (c->ErrBuffer, e, c->CurrentLine+1); } debug (D_ERROR, ("***%s on line/pos %ld/%ld*** \t", e, c->CurrentLine, c->CurrentPos)); } while (0)
#define ErrRet(c,e) do { Error (c, e); return; } while (0)
/*)) */
/*(( "Prototypes" */
/*
* Only process lines in increasing line number order!
* Otherwise neat effects may happen as the system only
* keeps track of the last modfied line and does not
* scan all ModifyRequest that are already done.
*/
/*
* Initialize.
*/
void InitIndent (sc_t *c, int BeginLine, int EndLine, int Mode);
/*
* Cleanup and add any remaining APIOrders.
*/
void CleanupIndent (sc_t *c);
/*
* Free the APIOrder, APIModifyRequest and the string space.